CffGlyphsAndCharsToArray(Font,HashSet<UInt16>,HashSet<Int32>) Method
Creates a subset of the CFF font table containing both the specified glyphs and UTF-32 characters, then serializes the subset to a byte array.
public System.byte[] CffGlyphsAndCharsToArray(
Font ,
System.Collections.Generic.HashSet<ushort> ,
System.Collections.Generic.HashSet<int>
)
'Declaration
Public Overloads Function CffGlyphsAndCharsToArray( _
ByVal As Font, _
ByVal As System.Collections.Generic.HashSet(Of UShort), _
ByVal As System.Collections.Generic.HashSet(Of Integer) _
) As System.Byte()
Parameters
- font
- The Font object with PostScript outlines stored in the CFF format.
- glyphIDs
- Glyph indices to be added to the resulting table subset.
- utf32Chars
- UTF-32 characters to be supported in the resulting table subset.
Return Value
Binary data with the resulting CFF font table.